package com.hospital.payment.module.exception.enums;

public enum OrderServiceExpCode {
    ORDER_TYPE_NOT_EXIST( 1001, "订单类型不存在" ),
    ORDER_STATUS_NOT_EXIST( 1002, "订单状态不存在" ),
    ORDER_STATUS_UPDATE_FAILED( 1003, "订单状态更新失败" ),
    PAYMENT_METHOD_NOT_EXIST( 1004, "支付方式不存在" ),
    QR_CODE_GENERATE_FAILED( 1005, "二维码生成失败" ),
    ORDER_CREATE_FAILED( 1006, "订单创建失败" ),
    ORDER_NOT_EXIST( 1007, "订单不存在" ),
    ORDER_PAYMENT_STATUS_NOT_PENDING( 1008, "订单支付状态不是待支付"),
    ORDER_UPDATE_FAILED( 1009, "订单更新失败"),
    ORDER_STATUS_NOT_IN_PROGRESS( 1010, "订单状态不是进行中" ),
    DIAGNOSIS_MODULE_ERROR( 1011, "诊断模块异常" ),
    USER_NOT_EXIST( 1012, "用户不存在" ),
    USER_ROLE_NOT_MATCH( 1013, "用户角色不匹配" );
    public final Integer code;
    public final String message;
    OrderServiceExpCode(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
